package com.anpy.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Id;
import java.util.Date;

/**
 * @Author : anpengyu
 * @create 2024/8/25 16:04
 */
@Data
@TableName("T_MEMO_DETAIL_IMAGE")
public class MemoDetailImgEntity {

    @Id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "memo_id")
    private Long memoId;
    @TableField(value = "photo_url")
    private String photoUrl;
    @TableField(value = "user_id")
    private Long userId;
    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
}
